/**
 * ChatServerEndPointConfigurator.java
 * http://programmingforliving.com
 */
package com.mudos.server.configurator;
 
import javax.websocket.server.ServerEndpointConfig.Configurator;

import com.mudos.server.MUDServer;
 
/**
 * ChatServerEndPointConfigurator
 * @author Jiji_Sasidharan
 */
public class MUDServerEndPointConfigurator extends Configurator {
 
 private static MUDServer mudServer = new MUDServer();
 
 @Override
 public <T> T getEndpointInstance(Class<T> endpointClass)
   throws InstantiationException {
  return (T)mudServer;
 }
}